package com.business.service;

import java.util.List;
import org.apache.log4j.Logger;

import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.business.mapper.T_contract_releaseMapper;
import com.business.domain.T_contract_release;

@Service("t_contract_releaseService")
@Transactional
public class T_contract_releaseService{
	private static Logger log = Logger.getLogger(T_contract_releaseService.class.getName());

	@Resource
    private T_contract_releaseMapper t_contract_releaseMapper;


	public int save(T_contract_release obj){
		 return t_contract_releaseMapper.save(obj);
	}

	public int update(T_contract_release obj){
		return t_contract_releaseMapper.update(obj);
	}

	public int delete(T_contract_release obj){
		return t_contract_releaseMapper.delete(obj);
	}

	public T_contract_release findById(T_contract_release obj){
		return t_contract_releaseMapper.findById(obj);
	}

	public List findAll(T_contract_release obj ){
		 return t_contract_releaseMapper.findAll(obj);
	}

	public int findCountAll(T_contract_release obj ){
		 return t_contract_releaseMapper.findCountAll(obj);
	}
}
